#ifndef EMAILVERIFY_H
#define EMAILVERIFY_H

#include <QWidget>
#include <QTimer>
#include <QDialog>
namespace Ui {
class EmailVerify;
}

class EmailVerify : public QDialog
{
    Q_OBJECT

public:
    explicit EmailVerify(QWidget *parent = nullptr);
    ~EmailVerify();
public slots:
    void time_out();
    void on_btn_verify_clicked();
    void OnRequestForLogin();
signals:
    void request_verify_code(QString email);
    void RequestForLogin(QString email,QString veri,QString Type);
private:
    Ui::EmailVerify *ui;
    QTimer vtim;
    int cnt = 60;
};

#endif // EMAILVERIFY_H
